.class public Lorg/microemu/android/util/AndroidRecordStoreManager;
.super Ljava/lang/Object;
.source "AndroidRecordStoreManager.java"

# interfaces
.implements Lorg/microemu/RecordStoreManager;


# static fields
.field private static final RECORD_STORE_SUFFIX:Ljava/lang/String; = ".rs"


# instance fields
.field private activity:Landroid/app/Activity;

.field private recordListener:Lorg/microemu/util/ExtendedRecordListener;

.field private testOpenRecordStores:Ljava/util/Hashtable;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Hashtable",
            "<",
            "Ljava/lang/String;",
            "Lorg/microemu/util/RecordStoreImpl;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Landroid/app/Activity;)V
    .locals 1
    .parameter "context"

    .prologue
    .line 70
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 55
    new-instance v0, Ljava/util/Hashtable;

    invoke-direct {v0}, Ljava/util/Hashtable;-><init>()V

    iput-object v0, p0, Lorg/microemu/android/util/AndroidRecordStoreManager;->testOpenRecordStores:Ljava/util/Hashtable;

    .line 57
    const/4 v0, 0x0

    iput-object v0, p0, Lorg/microemu/android/util/AndroidRecordStoreManager;->recordListener:Lorg/microemu/util/ExtendedRecordListener;

    .line 71
    iput-object p1, p0, Lorg/microemu/android/util/AndroidRecordStoreManager;->activity:Landroid/app/Activity;

    .line 72
    return-void
.end method

.method private getSuiteName()Ljava/lang/String;
    .locals 1

    .prologue
    .line 82
    iget-object v0, p0, Lorg/microemu/android/util/AndroidRecordStoreManager;->activity:Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->getComponentName()Landroid/content/ComponentName;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/ComponentName;->getPackageName()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private loadFromDisk(Ljava/lang/String;)Lorg/microemu/util/RecordStoreImpl;
    .locals 6
    .parameter "recordStoreFileName"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/FileNotFoundException;
        }
    .end annotation

    .prologue
    .line 164
    const/4 v2, 0x0

    .line 166
    .local v2, store:Lorg/microemu/util/RecordStoreImpl;
    :try_start_0
    new-instance v0, Ljava/io/DataInputStream;

    iget-object v4, p0, Lorg/microemu/android/util/AndroidRecordStoreManager;->activity:Landroid/app/Activity;

    invoke-virtual {v4, p1}, Landroid/app/Activity;->openFileInput(Ljava/lang/String;)Ljava/io/FileInputStream;

    move-result-object v4

    invoke-direct {v0, v4}, Ljava/io/DataInputStream;-><init>(Ljava/io/InputStream;)V

    .line 167
    .local v0, dis:Ljava/io/DataInputStream;
    new-instance v3, Lorg/microemu/util/RecordStoreImpl;

    invoke-direct {v3, p0, v0}, Lorg/microemu/util/RecordStoreImpl;-><init>(Lorg/microemu/RecordStoreManager;Ljava/io/DataInputStream;)V
    :try_end_0
    .catch Ljava/io/FileNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_1

    .line 168
    .local v3, store:Lorg/microemu/util/RecordStoreImpl;
    :try_start_1
    invoke-virtual {v0}, Ljava/io/DataInputStream;->close()V
    :try_end_1
    .catch Ljava/io/FileNotFoundException; {:try_start_1 .. :try_end_1} :catch_3
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_1} :catch_2

    .end local v2           #store:Lorg/microemu/util/RecordStoreImpl;
    move-object v2, v3

    .line 174
    .end local v0           #dis:Ljava/io/DataInputStream;
    .end local v3           #store:Lorg/microemu/util/RecordStoreImpl;
    .restart local v2       #store:Lorg/microemu/util/RecordStoreImpl;
    :goto_0
    return-object v2

    .line 169
    :catch_0
    move-exception v4

    move-object v1, v4

    .line 170
    .local v1, e:Ljava/io/FileNotFoundException;
    :goto_1
    throw v1

    .line 171
    .end local v1           #e:Ljava/io/FileNotFoundException;
    :catch_1
    move-exception v4

    move-object v1, v4

    .line 172
    .local v1, e:Ljava/io/IOException;
    :goto_2
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "RecordStore.loadFromDisk: ERROR reading "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v4, v1}, Lorg/microemu/log/Logger;->error(Ljava/lang/String;Ljava/lang/Throwable;)V

    goto :goto_0

    .line 171
    .end local v2           #store:Lorg/microemu/util/RecordStoreImpl;
    .end local v1           #e:Ljava/io/IOException;
    .restart local v0       #dis:Ljava/io/DataInputStream;
    .restart local v3       #store:Lorg/microemu/util/RecordStoreImpl;
    :catch_2
    move-exception v4

    move-object v1, v4

    move-object v2, v3

    .restart local v2       #store:Lorg/microemu/util/RecordStoreImpl;
    goto :goto_2

    .line 169
    .end local v2           #store:Lorg/microemu/util/RecordStoreImpl;
    :catch_3
    move-exception v4

    move-object v1, v4

    move-object v2, v3

    .restart local v2       #store:Lorg/microemu/util/RecordStoreImpl;
    goto :goto_1
.end method

.method private saveToDisk(Ljava/lang/String;Lorg/microemu/util/RecordStoreImpl;)V
    .locals 4
    .parameter "recordStoreFileName"
    .parameter "recordStore"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljavax/microedition/rms/RecordStoreException;
        }
    .end annotation

    .prologue
    .line 180
    :try_start_0
    new-instance v0, Ljava/io/DataOutputStream;

    iget-object v2, p0, Lorg/microemu/android/util/AndroidRecordStoreManager;->activity:Landroid/app/Activity;

    const/4 v3, 0x0

    invoke-virtual {v2, p1, v3}, Landroid/app/Activity;->openFileOutput(Ljava/lang/String;I)Ljava/io/FileOutputStream;

    move-result-object v2

    invoke-direct {v0, v2}, Ljava/io/DataOutputStream;-><init>(Ljava/io/OutputStream;)V

    .line 181
    .local v0, dos:Ljava/io/DataOutputStream;
    invoke-virtual {p2, v0}, Lorg/microemu/util/RecordStoreImpl;->write(Ljava/io/DataOutputStream;)V

    .line 182
    invoke-virtual {v0}, Ljava/io/DataOutputStream;->close()V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    .line 187
    return-void

    .line 183
    .end local v0           #dos:Ljava/io/DataOutputStream;
    :catch_0
    move-exception v2

    move-object v1, v2

    .line 184
    .local v1, e:Ljava/io/IOException;
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "RecordStore.saveToDisk: ERROR writting object to "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2, v1}, Lorg/microemu/log/Logger;->error(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 185
    new-instance v2, Ljavax/microedition/rms/RecordStoreException;

    invoke-virtual {v1}, Ljava/io/IOException;->getMessage()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljavax/microedition/rms/RecordStoreException;-><init>(Ljava/lang/String;)V

    throw v2
.end method


# virtual methods
.method public deleteRecordStore(Ljava/lang/String;)V
    .locals 5
    .parameter "recordStoreName"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljavax/microedition/rms/RecordStoreNotFoundException;,
            Ljavax/microedition/rms/RecordStoreException;
        }
    .end annotation

    .prologue
    .line 87
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-direct {p0}, Lorg/microemu/android/util/AndroidRecordStoreManager;->getSuiteName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "."

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ".rs"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 89
    .local v2, storeFileName:Ljava/lang/String;
    iget-object v3, p0, Lorg/microemu/android/util/AndroidRecordStoreManager;->testOpenRecordStores:Ljava/util/Hashtable;

    invoke-virtual {v3, v2}, Ljava/util/Hashtable;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lorg/microemu/util/RecordStoreImpl;

    .line 90
    .local v1, recordStoreImpl:Lorg/microemu/util/RecordStoreImpl;
    if-eqz v1, :cond_0

    invoke-virtual {v1}, Lorg/microemu/util/RecordStoreImpl;->isOpen()Z

    move-result v3

    if-eqz v3, :cond_0

    .line 91
    new-instance v3, Ljavax/microedition/rms/RecordStoreException;

    invoke-direct {v3}, Ljavax/microedition/rms/RecordStoreException;-><init>()V

    throw v3

    .line 95
    :cond_0
    :try_start_0
    invoke-direct {p0, v2}, Lorg/microemu/android/util/AndroidRecordStoreManager;->loadFromDisk(Ljava/lang/String;)Lorg/microemu/util/RecordStoreImpl;
    :try_end_0
    .catch Ljava/io/FileNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v1

    .line 100
    iget-object v3, p0, Lorg/microemu/android/util/AndroidRecordStoreManager;->activity:Landroid/app/Activity;

    invoke-virtual {v3, v2}, Landroid/app/Activity;->deleteFile(Ljava/lang/String;)Z

    .line 101
    const/16 v3, 0xa

    invoke-virtual {p0, v3, p1}, Lorg/microemu/android/util/AndroidRecordStoreManager;->fireRecordStoreListener(ILjava/lang/String;)V

    .line 102
    return-void

    .line 96
    :catch_0
    move-exception v0

    .line 97
    .local v0, ex:Ljava/io/FileNotFoundException;
    new-instance v3, Ljavax/microedition/rms/RecordStoreNotFoundException;

    invoke-direct {v3, p1}, Ljavax/microedition/rms/RecordStoreNotFoundException;-><init>(Ljava/lang/String;)V

    throw v3
.end method

.method public deleteStores()V
    .locals 5

    .prologue
    .line 152
    invoke-virtual {p0}, Lorg/microemu/android/util/AndroidRecordStoreManager;->listRecordStores()[Ljava/lang/String;

    move-result-object v3

    .line 153
    .local v3, stores:[Ljava/lang/String;
    const/4 v1, 0x0

    .local v1, i:I
    :goto_0
    array-length v4, v3

    if-ge v1, v4, :cond_0

    .line 154
    aget-object v2, v3, v1

    .line 156
    .local v2, store:Ljava/lang/String;
    :try_start_0
    invoke-virtual {p0, v2}, Lorg/microemu/android/util/AndroidRecordStoreManager;->deleteRecordStore(Ljava/lang/String;)V
    :try_end_0
    .catch Ljavax/microedition/rms/RecordStoreException; {:try_start_0 .. :try_end_0} :catch_0

    .line 153
    :goto_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 157
    :catch_0
    move-exception v0

    .line 158
    .local v0, e:Ljavax/microedition/rms/RecordStoreException;
    const-string v4, "deleteRecordStore"

    invoke-static {v4, v0}, Lorg/microemu/log/Logger;->debug(Ljava/lang/String;Ljava/lang/Throwable;)V

    goto :goto_1

    .line 161
    .end local v2           #store:Ljava/lang/String;
    .end local v0           #e:Ljavax/microedition/rms/RecordStoreException;
    :cond_0
    return-void
.end method

.method public fireRecordStoreListener(ILjava/lang/String;)V
    .locals 3
    .parameter "type"
    .parameter "recordStoreName"

    .prologue
    .line 199
    iget-object v0, p0, Lorg/microemu/android/util/AndroidRecordStoreManager;->recordListener:Lorg/microemu/util/ExtendedRecordListener;

    if-eqz v0, :cond_0

    .line 200
    iget-object v0, p0, Lorg/microemu/android/util/AndroidRecordStoreManager;->recordListener:Lorg/microemu/util/ExtendedRecordListener;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    invoke-interface {v0, p1, v1, v2, p2}, Lorg/microemu/util/ExtendedRecordListener;->recordStoreEvent(IJLjava/lang/String;)V

    .line 202
    :cond_0
    return-void
.end method

.method public getName()Ljava/lang/String;
    .locals 1

    .prologue
    .line 78
    const-string v0, "Android record store"

    return-object v0
.end method

.method public getSizeAvailable(Lorg/microemu/util/RecordStoreImpl;)I
    .locals 1
    .parameter "recordStoreImpl"

    .prologue
    .line 191
    const/high16 v0, 0x10

    return v0
.end method

.method public init()V
    .locals 0

    .prologue
    .line 149
    return-void
.end method

.method public init(Lorg/microemu/MicroEmulator;)V
    .locals 0
    .parameter "emulator"

    .prologue
    .line 75
    return-void
.end method

.method public listRecordStores()[Ljava/lang/String;
    .locals 6

    .prologue
    .line 130
    iget-object v2, p0, Lorg/microemu/android/util/AndroidRecordStoreManager;->activity:Landroid/app/Activity;

    invoke-virtual {v2}, Landroid/app/Activity;->fileList()[Ljava/lang/String;

    move-result-object v1

    .line 131
    .local v1, result:[Ljava/lang/String;
    if-eqz v1, :cond_0

    .line 132
    array-length v2, v1

    if-nez v2, :cond_1

    .line 133
    const/4 v1, 0x0

    .line 140
    :cond_0
    return-object v1

    .line 135
    :cond_1
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    array-length v2, v1

    if-ge v0, v2, :cond_0

    .line 136
    aget-object v2, v1, v0

    const/4 v3, 0x0

    aget-object v4, v1, v0

    invoke-virtual {v4}, Ljava/lang/String;->length()I

    move-result v4

    const-string v5, ".rs"

    invoke-virtual {v5}, Ljava/lang/String;->length()I

    move-result v5

    sub-int/2addr v4, v5

    invoke-virtual {v2, v3, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v2

    aput-object v2, v1, v0

    .line 135
    add-int/lit8 v0, v0, 0x1

    goto :goto_0
.end method

.method public openRecordStore(Ljava/lang/String;Z)Ljavax/microedition/rms/RecordStore;
    .locals 7
    .parameter "recordStoreName"
    .parameter "createIfNecessary"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljavax/microedition/rms/RecordStoreException;
        }
    .end annotation

    .prologue
    const-string v6, ".rs"

    const-string v5, "."

    .line 105
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-direct {p0}, Lorg/microemu/android/util/AndroidRecordStoreManager;->getSuiteName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "."

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ".rs"

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 109
    .local v2, storeFileName:Ljava/lang/String;
    :try_start_0
    invoke-direct {p0, v2}, Lorg/microemu/android/util/AndroidRecordStoreManager;->loadFromDisk(Ljava/lang/String;)Lorg/microemu/util/RecordStoreImpl;
    :try_end_0
    .catch Ljava/io/FileNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v1

    .line 117
    .local v1, recordStoreImpl:Lorg/microemu/util/RecordStoreImpl;
    :goto_0
    const/4 v3, 0x1

    invoke-virtual {v1, v3}, Lorg/microemu/util/RecordStoreImpl;->setOpen(Z)V

    .line 118
    iget-object v3, p0, Lorg/microemu/android/util/AndroidRecordStoreManager;->recordListener:Lorg/microemu/util/ExtendedRecordListener;

    if-eqz v3, :cond_0

    .line 119
    iget-object v3, p0, Lorg/microemu/android/util/AndroidRecordStoreManager;->recordListener:Lorg/microemu/util/ExtendedRecordListener;

    invoke-virtual {v1, v3}, Lorg/microemu/util/RecordStoreImpl;->addRecordListener(Ljavax/microedition/rms/RecordListener;)V

    .line 122
    :cond_0
    iget-object v3, p0, Lorg/microemu/android/util/AndroidRecordStoreManager;->testOpenRecordStores:Ljava/util/Hashtable;

    invoke-virtual {v3, v2, v1}, Ljava/util/Hashtable;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 124
    const/16 v3, 0x8

    invoke-virtual {p0, v3, p1}, Lorg/microemu/android/util/AndroidRecordStoreManager;->fireRecordStoreListener(ILjava/lang/String;)V

    .line 126
    return-object v1

    .line 110
    .end local v1           #recordStoreImpl:Lorg/microemu/util/RecordStoreImpl;
    :catch_0
    move-exception v0

    .line 111
    .local v0, e:Ljava/io/FileNotFoundException;
    if-nez p2, :cond_1

    .line 112
    new-instance v3, Ljavax/microedition/rms/RecordStoreNotFoundException;

    invoke-direct {v3, p1}, Ljavax/microedition/rms/RecordStoreNotFoundException;-><init>(Ljava/lang/String;)V

    throw v3

    .line 114
    :cond_1
    new-instance v1, Lorg/microemu/util/RecordStoreImpl;

    invoke-direct {v1, p0, p1}, Lorg/microemu/util/RecordStoreImpl;-><init>(Lorg/microemu/RecordStoreManager;Ljava/lang/String;)V

    .line 115
    .restart local v1       #recordStoreImpl:Lorg/microemu/util/RecordStoreImpl;
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-direct {p0}, Lorg/microemu/android/util/AndroidRecordStoreManager;->getSuiteName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "."

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ".rs"

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-direct {p0, v3, v1}, Lorg/microemu/android/util/AndroidRecordStoreManager;->saveToDisk(Ljava/lang/String;Lorg/microemu/util/RecordStoreImpl;)V

    goto :goto_0
.end method

.method public saveChanges(Lorg/microemu/util/RecordStoreImpl;)V
    .locals 2
    .parameter "recordStoreImpl"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljavax/microedition/rms/RecordStoreNotOpenException;,
            Ljavax/microedition/rms/RecordStoreException;
        }
    .end annotation

    .prologue
    .line 145
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-direct {p0}, Lorg/microemu/android/util/AndroidRecordStoreManager;->getSuiteName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "."

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p1}, Lorg/microemu/util/RecordStoreImpl;->getName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ".rs"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0, p1}, Lorg/microemu/android/util/AndroidRecordStoreManager;->saveToDisk(Ljava/lang/String;Lorg/microemu/util/RecordStoreImpl;)V

    .line 146
    return-void
.end method

.method public setRecordListener(Lorg/microemu/util/ExtendedRecordListener;)V
    .locals 0
    .parameter "recordListener"

    .prologue
    .line 195
    iput-object p1, p0, Lorg/microemu/android/util/AndroidRecordStoreManager;->recordListener:Lorg/microemu/util/ExtendedRecordListener;

    .line 196
    return-void
.end method
